package org.demo.mysql.schema.model;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Title: SchemaInfo
 * @Description: []
 * @Author lei.cheng
 * @Date 2024/8/19
 */
@Getter
@Setter
public class SchemaInfo implements Serializable {
    private static final long serialVersionUID = 6200156302595901833L;
    @ExcelProperty("表名")
    private String tableName;

    @ExcelProperty("列名")
    private String columnName;

    @ExcelProperty("数据类型")
    private String columnType;

    @ExcelProperty("字段类型")
    private String dataType;

    @ExcelProperty("长度")
    private String length;

    @ExcelProperty("是否为空")
    private String isNullable;

    @ExcelProperty("默认值")
    private String defaultValue;

    @ExcelProperty("备注")
    private String comment;
}
